<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>数据统计页面</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/layuiadmin/style/admin.css" media="all">
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md8">
            <div class="layui-row layui-col-space15">


                {if !$isInstitutionAdmin}
                <div class="layui-col-md6">
                    <div class="layui-card">
                        <div class="layui-card-header">快捷方式</div>
                        <div class="layui-card-body">

                            <div class="layui-carousel layadmin-carousel layadmin-shortcut">
                                <div carousel-item>
                                    <ul class="layui-row layui-col-space10">
                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url('admin/admin/baseInfo')}">
                                                <i class="layui-icon layui-icon-tabs"></i>
                                                <cite>我的资料</cite>
                                            </a>
                                        </li>

                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/admin/changePass')}">
                                                <i class="layui-icon layui-icon-vercode"></i>
                                                <cite>修改密码</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/admin/adminList')}">
                                                <i class="layui-icon layui-icon-user"></i>
                                                <cite>后台成员</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/role/roleList')}">
                                                <i class="layui-icon layui-icon-group"></i>
                                                <cite>身份管理</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/article/goodArticleList')}">
                                                <i class="layui-icon layui-icon-read"></i>
                                                <cite>文章管理</cite>
                                            </a>
                                        </li>

                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/city/cityList')}">
                                                <i class="layui-icon layui-icon layui-icon-layouts"></i>
                                                <cite>城市管理</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/Institution/institutionList')}">
                                                <i class="layui-icon layui-icon-table"></i>
                                                <cite>机构管理</cite>
                                            </a>
                                        </li>

                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url('admin/website/show')}">
                                                <i class="layui-icon layui-icon-set"></i>
                                                <cite>系统设置</cite>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>

                <div class="layui-col-md6">
                    <div class="layui-card">
                        <div class="layui-card-header">数据统计</div>
                        <div class="layui-card-body">
                            <div class="layui-carousel layadmin-carousel layadmin-backlog">
                                <div carousel-item>
                                    <ul class="layui-row layui-col-space10">
                                        <li class="layui-col-xs6">
                                            <a href="javascript:;" class="layadmin-backlog-body">
                                                <h3>城市数量</h3>
                                                <p><cite>{$cityNum}</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs6">
                                            <a href="javascript:;" class="layadmin-backlog-body">
                                                <h3>机构数量</h3>
                                                <p><cite>{$institutionNum}</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs6">
                                            <a href="javascript:;" class="layadmin-backlog-body">
                                                <h3>好文数量</h3>
                                                <p><cite>{$goodArticleNum}</cite></p>
                                            </a>
                                        </li>

                                        <li class="layui-col-xs6">
                                            <a href="javascript:;" class="layadmin-backlog-body">
                                                <h3>好课数量</h3>
                                                <p><cite>{$goodClassNum}</cite></p>
                                            </a>
                                        </li>
                                    </ul>
                                    <ul>
                                        <li class="layui-col-xs6">
                                            <a href="javascript:;" class="layadmin-backlog-body">
                                                <h3>备份数量</h3>
                                                <p><cite>{$backupNum}</cite></p>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">

                    <div class="layui-card">
                        <div class="layui-card-header">信息审核</div>
                        <div class="layui-card-body">
                            <div class="layui-carousel layadmin-carousel layadmin-backlog">
                                <div carousel-item>
                                    <ul class="layui-row layui-col-space10">
                                        <li class="layui-col-xs6">
                                            <a lay-href="{:url('admin/article/goodArticleList')}"
                                               class="layadmin-backlog-body">
                                                <h3>好文待审核</h3>
                                                <p><cite style="color: #FF5722;">{$goodArticleNumWithNoCheck}</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs6">
                                            <a lay-href="{:url('admin/article/goodClassList')}"
                                               class="layadmin-backlog-body">
                                                <h3>好课待审核</h3>
                                                <p><cite style="color: #FF5722;">{$goodClassNumWithNoCheck}</cite></p>
                                            </a>
                                        </li>

                                    </ul>

                                </div>
                            </div>
                        </div>
                    </div>

                </div>
                {else/}
                <div class="layui-col-md6">
                    <div class="layui-card">
                        <div class="layui-card-header">快捷方式</div>
                        <div class="layui-card-body">

                            <div class="layui-carousel layadmin-carousel layadmin-shortcut">
                                <div carousel-item>
                                    <ul class="layui-row layui-col-space10">
                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url('admin/admin/baseInfo')}">
                                                <i class="layui-icon layui-icon-tabs"></i>
                                                <cite>我的资料</cite>
                                            </a>
                                        </li>

                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/admin/changePass')}">
                                                <i class="layui-icon layui-icon-vercode"></i>
                                                <cite>修改密码</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/admin/adminList')}">
                                                <i class="layui-icon layui-icon-user"></i>
                                                <cite>后台成员</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/role/roleList')}">
                                                <i class="layui-icon layui-icon-group"></i>
                                                <cite>身份管理</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/article/articleList')}">
                                                <i class="layui-icon layui-icon-read"></i>
                                                <cite>文章管理</cite>
                                            </a>
                                        </li>

                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/city/cityList')}">
                                                <i class="layui-icon layui-icon layui-icon-layouts"></i>
                                                <cite>城市管理</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url ('admin/Institution/institutionList')}">
                                                <i class="layui-icon layui-icon-table"></i>
                                                <cite>机构管理</cite>
                                            </a>
                                        </li>

                                        <li class="layui-col-xs3">
                                            <a lay-href="{:url('admin/website/show')}">
                                                <i class="layui-icon layui-icon-set"></i>
                                                <cite>系统设置</cite>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>

                <div class="layui-col-md6">
                    <div class="layui-card">
                        <div class="layui-card-header">数据统计</div>
                        <div class="layui-card-body">
                            <div class="layui-carousel layadmin-carousel layadmin-backlog">
                                <div carousel-item>
                                    <ul class="layui-row layui-col-space10">


                                        <li class="layui-col-xs6">
                                            <a href="javascript:;" class="layadmin-backlog-body">
                                                <h3>好文数量</h3>
                                                <p><cite>{$institutionGoodArticleNum}</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs6">
                                            <a href="javascript:;" class="layadmin-backlog-body">
                                                <h3>好课数量</h3>
                                                <p><cite>{$institutionGoodClassNum}</cite></p>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                {/if}
            </div>
        </div>
    </div>
</div>

<script src="/static/layuiadmin/layui/layui.js?t=1"></script>
<script>
    layui.config({
        base: '/static/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'console']);
</script>
</body>
</html>

